package net.seayan.designpattern4j.strategy.context;

import net.seayan.designpattern4j.strategy.IStrategy;

/**
 * 策略模式封装方法
 * @ClassName: StrategyContext
 * @author: yanmeng
 * @date:2012-8-29 下午3:20:40
 */
public class StrategyContext {
	private IStrategy strategy;
	public StrategyContext(IStrategy strategy){
		this.strategy=strategy;
	}
	
	public void mmethod(){
		strategy.mmethod();
	}
}
